package com.hongxun.design.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * Created by zerdoor_pc on 2016/8/18.
 */
public class RegularUtil {

    public static Matcher getMatcher(String res,String value){
        Pattern pattern = Pattern.compile(res);
       return pattern.matcher(value);
    }
}
